package com.zdyumath.c3ioc.config;

import com.zdyumath.c3ioc.service.IUserService;
import com.zdyumath.c3ioc.service.UserService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SpringConfig {

    @Bean
    public IUserService userService(){
        return new UserService();
    }
}
